package com.java.core.reflectd;

/**
 * @Author YongQiang
 * @Date 2021/9/26 14:22
 * @Version 1.0
 */
public class Target {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Target(String name) {
        this.name = name;
    }

    public void printString(){
        System.out.println(this.name);
    }


    private String privateTest(){
        return "123456";
    }

    public static void staticFun(){
        System.out.println("静态public方法");
    }
}
